package com.example.newapp.dao;

import com.example.newapp.bean.Account;

import java.util.List;

public interface AccountMapper {
//    插入
    void insert(Account account);

    List<Account> selectAll();

    Account selectByPrimaryKey(long id);

    Account selectByAccount(String account);

    void deleteByPrimaryKey(long id);

    void updateByPrimaryKey(Account account);
}
